package org.example.javascriptapi.controller;

import lombok.Data;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WebFormController {

    @PostMapping("/web-form-page")
    public void handlerFirstWebForm(String user_name, String user_email, String user_message) {
        System.out.println("user_name:+" + user_name);
        System.out.println("user_email:+" + user_email);
        System.out.println("user_message:+" + user_message);
    }
}
